﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>xAtom_List_Swap（xAtom_List类型对象交换元素位置）</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<P>函数原型：<br>Function xAtom_List_Swap(x As xAtom_List Ptr, A As UInteger, B As UInteger) As Integer<br>int xAtom_List_Swap(xAtom* x, unsigned int A, unsigned int B);</P>
<P>VB、VBS、按键精灵声明：<br>Declare Function Lib "xTask.dll" xAtom_List_Swap(ByVal x As Long, ByVal A As Long, ByVal B As Long) As Long</P>
<P>参数：<br>x：xAtom对象指针（可以是 xAtom_List 或 xAtom_Dict）<br>A：第一个元素ID<br>B：第二个元素ID</P>
<P>成功返回true，失败返回false</P>
<P>说明：<br>交换两个列表项的位置。</P>
</body>
</html>